#! /bin/bash

echo "start path planner "
pid=$(ps -ef | grep "path_planner" | grep -v grep | awk '{print $2}')
echo $pid
if [ -n "$pid" ]; then
	(sudo kill -9 "$pid")
fi
path_planner &